<!DOCTYPE html>
<html>
<head>
<title></title>
<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<#if shiro.hasPermission("partyinfo:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("partyinfo:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("partyinfo:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">当事人标识</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.partyCode" placeholder="当事人标识"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">案件id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.caseId" placeholder="案件id"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">案件名称</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.caseName" placeholder="案件名称"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">排期表主键id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.trialId" placeholder="排期表主键id"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">当事人姓名</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.name" placeholder="当事人姓名"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">当事人序号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.partySerialNum" placeholder="当事人序号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">关联字典类型表(code)
诉讼地位 1原告 2被告 3书记员 4 法官 5原告证人 6被告证人 7原告鉴定人 8被告鉴定人 9原告代理人 10被告代理人
</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.lawsuitStatus" placeholder="关联字典类型表(code)
诉讼地位 1原告 2被告 3书记员 4 法官 5原告证人 6被告证人 7原告鉴定人 8被告鉴定人 9原告代理人 10被告代理人
"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">曾用名</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.nameUsedBefore" placeholder="曾用名"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">身份证照片路径</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.headPath" placeholder="身份证照片路径"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">性别 1男 2女</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.gender" placeholder="性别 1男 2女"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">年龄</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.age" placeholder="年龄"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">职业</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.administrativeLevel" placeholder="职业"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">户籍地址</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.domicilePlace" placeholder="户籍地址"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">婚姻状况,1 未婚 2 已婚 3 离婚 4 丧偶 5 其他</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.maritalStatus" placeholder="婚姻状况,1 未婚 2 已婚 3 离婚 4 丧偶 5 其他"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">文化程度</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.culture" placeholder="文化程度"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">出生日期</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.dateBirth" placeholder="出生日期"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">政治面貌</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.politicsStatus" placeholder="政治面貌"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">民族</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.nation" placeholder="民族"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">国籍</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.nationality" placeholder="国籍"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">现住地址</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.address" placeholder="现住地址"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">证件类型</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.idcardName" placeholder="证件类型"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">证件号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.idNum" placeholder="证件号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">工作单位类型</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.workUnitsType" placeholder="工作单位类型"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">工作单位名称</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.workUnitsName" placeholder="工作单位名称"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">电子邮箱</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.email" placeholder="电子邮箱"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">电话，关联自然人信息，可以自动填充数据</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.specialPlane" placeholder="电话，关联自然人信息，可以自动填充数据"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">微信</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.weChat" placeholder="微信"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">qq</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.qq" placeholder="qq"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">法院id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.courtId" placeholder="法院id"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">法院名称</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.courtName" placeholder="法院名称"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">创建人</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.createBy" placeholder="创建人"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">创建时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.createDate" placeholder="创建时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">修改人</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.updateBy" placeholder="修改人"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">修改时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.updateDate" placeholder="修改时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">第三方id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="partyInfo.thirdId" placeholder="第三方id"/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="${request.contextPath}/statics/js/modules/generator/partyinfo.js?_${.now?long}"></script>
</body>
</html>